package nc.vo.hljt.h00004;

import java.util.HashMap;

import nc.vo.scm.pub.smart.SmartFieldMeta;
import nc.vo.scm.pub.smart.SmartVOMeta;

public class Ret55HeadVOMeta extends SmartVOMeta {

	public Ret55HeadVOMeta() {
		super();
		init();
	}

	private void init() {

		String[] names = { "sapply_hid", "vbillcode", "modifier","totalnum",
				"modifiername", "tmaketime", "modifiedtime",
				"approver", "approvername", "taudittime",
				"fstatusflag", "ts" };

		setTable("ic_sapply_h");
		setLabel("ic_sapply_h");
		setPkColName("sapply_hid");
		SmartFieldMeta sfm = null;
		HashMap hmColumn = new HashMap();

		for (int i = 0, loop = names.length; i < loop; i++) {
			sfm = SApplyBillHeadVOMeta.getSmartFieldMeta(names[i], true);
			if (sfm.getName().endsWith("name"))
				sfm.setPersistence(false);
			hmColumn.put(sfm.getName(), sfm);
		}

		setColumns(hmColumn);
	}

}
